#ifndef ABOUT_H
#define ABOUT_H

#include <QWidget>
#include "Code/net/gobang_network.h"
#include "QMessageBox"
#include "QDesktopServices"
#include "QUrl"

namespace Ui {
class about;
}

#define GAME_VERSION    (2)

class about : public QWidget
{
    Q_OBJECT
    Gobang_Network *gn;
public:
    explicit about(Gobang_Network *gn,QWidget *parent = nullptr);
    ~about();
    void setSize(int x, int y, int w, int h);
private slots:
    void on_pushButton_clicked();
    void rx_version(uint8_t ver);
private:
    Ui::about *ui;
};

#endif // ABOUT_H
